package handler

import (
    "cade/src/game/handler/c_gs"
    "cade/src/game/handler/gw_gs"
    "cade/src/game/msg"
)

func Init() {
    msg.Handler(1100, gw_gs.GW_RegisterGate)
    msg.Handler(1102, gw_gs.GW_UserOnline)
    msg.Handler(1103, gw_gs.GW_LogoutPlayer)
    msg.Handler(5002, c_gs.C_TimeSync)
    msg.Handler(5200, c_gs.C_ChatGetRoomList)
    msg.Handler(5202, c_gs.C_ChatEnterRoom)
    msg.Handler(5204, c_gs.C_ChatLeaveRoom)
    msg.Handler(5206, c_gs.C_ChatCreateRoom)
    msg.Handler(5208, c_gs.C_ChatSendText)
}
